home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
snowball.swf
/
scripts
/
DefineSprite_412
/
frame_2
/
DoAction.as
Wrap
Text File
|
2011-08-19
|
6KB
|
252 lines
_root.allowreset = 0;
mmessage = "";
if(_root.new_world == 1)
{
mmessage = _root.playername + ", you just broke the WORLD RECORD and became ARMOR GAMES WORLD SNOWBALL CHAMPION!! Wow!!";
_root.new_world = 0;
}
else if(_root.new_national == 1)
{
mmessage = "A new NATIONAL record. You\'re currently the best in the country, " + _root.playername + "!";
_root.new_national = 0;
}
else if(_root.new_regional == 1)
{
mmessage = "You made a new regional record! Way to go! Now you are on the road to win more!";
_root.new_regional = 0;
}
else if(_root.new_hometown == 1)
{
mmessage = "You are now the BEST snowballer in your hometown, " + _root.playername + ". A great achievement.";
_root.new_hometown = 0;
}
else if(_root.new_backyard == 1)
{
mmessage = "Hi there... new Backyard Champ! One more championship to add to your record.";
_root.new_backyard = 0;
}
else if(_root.new_world == 2)
{
mmessage = _root.playername + ", you just broke your own World Record!";
_root.new_world = 0;
}
else if(_root.new_national == 2)
{
mmessage = "A new NATIONAL record from you, " + _root.playername + "!";
_root.new_national = 0;
}
else if(_root.new_regional == 2)
{
mmessage = "You made a new regional record!";
_root.new_regional = 0;
}
else if(_root.new_hometown == 2)
{
mmessage = "You are still the BEST snowballer in your hometown, " + _root.playername + ". You beat your own record.";
_root.new_hometown = 0;
}
else if(_root.new_backyard == 2)
{
mmessage = "You have perfected your Backyard Record by beating it.";
_root.new_backyard = 0;
}
else if(_root.yourmanager == "Danny")
{
if(_root.weight > 1800)
{
mmessage = "Great job!";
}
else
{
o = random(5);
switch(o)
{
case 0:
mmessage = "You can do better next time.";
case 1:
mmessage = "It\'s all OK. There are other guys worse than you.";
case 2:
mmessage = "There must be something wrong with the snowball.";
case 3:
mmessage = "That one had a lot of potential.";
case 4:
mmessage = "Today\'s snow is not so great. The snow is thin.";
}
}
}
else if(_root.yourmanager == "Carla")
{
if(_root.weight > 1800)
{
mmessage = "Wow! Awesome Score!";
}
else
{
o = random(5);
switch(o)
{
case 0:
mmessage = "Ummm... those obstacles suck, don\'t they?";
case 1:
mmessage = "Too bad... you could have done better.";
case 2:
mmessage = "Ahh! Ahh! Come on!";
case 3:
mmessage = "Good effort there.";
case 4:
mmessage = "Not good enough.";
}
}
}
else if(_root.yourmanager == "Aomi")
{
if(_root.weight > 1800)
{
mmessage = "Alright... YATTA!!";
}
else
{
o = random(5);
switch(o)
{
case 0:
mmessage = "Baka! That was not that great.";
case 1:
mmessage = _root.playername + ", I believe you can do better than that.";
case 2:
mmessage = "No way. No way. Again! Again!";
case 3:
mmessage = "Roll a bigger one and I\'ll double your pay.";
case 4:
mmessage = "Ahhh. Hmmm. You are frustrating.";
}
}
}
else if(_root.yourmanager == "Johnson")
{
if(_root.weight > 1800)
{
mmessage = "Not bad. Not bad.";
}
else
{
o = random(5);
switch(o)
{
case 0:
mmessage = "Is that ALL you\'ve GOT?! You weakling.";
case 1:
mmessage = "You failed. Get down and give me 20.";
case 2:
mmessage = "What a miserable effort.";
case 3:
mmessage = "Even my grandma can do better than this.";
case 4:
mmessage = "If you do that again I will roll you up into a snowball.";
}
}
}
else if(_root.yourmanager == "Maximillion")
{
if(_root.weight > 1800)
{
mmessage = "Splendid. A big fat snowball.";
}
else
{
o = random(5);
switch(o)
{
case 0:
mmessage = "Bah!";
case 1:
mmessage = "That\'s all? I\'d better go to sleep.";
case 2:
mmessage = "No more food for you until you get a bigger snowball.";
case 3:
mmessage = "Even I can roll a bigger snowball.";
case 4:
mmessage = "Your effort is OK but you seem distracted.";
}
}
}
w = random(10);
if(w == 1)
{
_root.worldrecord += random(10);
_root.worldchampion = _root["aip" + (random(60) + 1)];
}
n = random(8);
if(n == 1)
{
currenter = _root.nationalrecord;
_root.nationalrecord += random(17);
while(_root.nationalrecord >= _root.worldrecord)
{
_root.nationalrecord--;
}
if(_root.nationalrecord == currenter)
{
n = 0;
}
else
{
_root.nationalchampion = _root["aip" + (random(60) + 1)];
}
}
r = random(6);
if(r == 1)
{
currenter = _root.regionalrecord;
_root.regionalrecord += random(25);
while(_root.regionalrecord >= _root.nationalrecord)
{
_root.regionalrecord--;
}
if(_root.regionalrecord == currenter)
{
r = 0;
}
else
{
_root.regionalchampion = _root["aip" + (random(60) + 1)];
}
}
h = random(4);
if(h == 1)
{
currenter = _root.hometownrecord;
_root.hometownrecord += random(50);
while(_root.hometownrecord >= _root.regionalrecord)
{
_root.hometownrecord--;
}
if(_root.hometownrecord == currenter)
{
h = 0;
}
else
{
_root.hometownchampion = _root["aip" + (random(60) + 1)];
}
}
b = random(3);
if(b == 1)
{
currenter = _root.backyardrecord;
_root.backyardrecord += random(100);
while(_root.backyardrecord >= _root.hometownrecord)
{
_root.backyardrecord--;
}
if(_root.backyardrecord == currenter)
{
b = 0;
}
else
{
_root.backyardchampion = _root["aip" + (random(60) + 1)];
}
}
stop();